luci-base: remodel the LogreadBox after the syslog viewer
authorPaul Donald <[email protected]>
Mon, 20 Oct 2025 19:11:10 +0000 (21:11 +0200)
committerPaul Donald <[email protected]>
Mon, 20 Oct 2025 19:11:10 +0000 (21:11 +0200)
commit0a6180d1cc107309ab32840c7a21ef1177eb4bd1
tree17a8e46dac184bb34662ca211ca7f1ecd4338ff7
parent523b3ea372d2d3790655374ee83fa4d1dd82c264
luci-base: remodel the LogreadBox after the syslog viewer

Remodeled the CBILogreadBox after the syslog viewer. Also
updated to use ubus log read, and drops the use of the logread binary
(logread is broken on snapshots). The JSON output from ubus is nice
enough to work with.

One potential drawback is that all log entries are sent to the browser
(as it always has been), and no on-device pre-filtering is available yet
except for line count.

Signed-off-by: Paul Donald <[email protected]>
modules/luci-base/htdocs/luci-static/resources/tools/views.js
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json